package com.core.family.admin.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.gen.BaseQuery;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: 2022-6-10 11:46:34
 * @Description dto对象
 */
@Data
public class SysGroupReq extends BaseQuery implements Serializable {


    /*
     *
     */
    private Integer id;

    /*
     *
     */
    private Integer orgId;

    /*
     *
     */
    private Integer parentId;

    /*
     *  组名称
     */

    private String gName;

    /*
     *  组代码
     */

    private String gCode;

    /*
     *  状态
     */
    private Integer status;

    /*
     *
     */
    private Integer isDel;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
